﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrayParrot.Infrastructure.Menu
{
    public class MenuItem
    {
        public Guid MenuId;
        public string Name;
        public string Url;
        public string IconPath;
        public string Tooltip;
        public Guid? ParentId;
        internal byte Index;
        public string Controller;

        public List<MenuItem> Childs = new List<MenuItem>();

        public MenuItem()
        {
            this.Index = 0;
        }
    }
}
